package com.coffee.admin.api.merchant.service;

import com.coffee.admin.api.merchant.query.MerchantIntegralLogQuery;
import com.coffee.admin.api.merchant.result.MerchantIntegralLogResult;
import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface MerchantIntegralLogService {

	Page<MerchantIntegralLogResult> getPager(MerchantIntegralLogQuery param, PagerInfo pr);
	
	Integer count(MerchantIntegralLogQuery param);
	
	MerchantIntegralLogResult getDetail(Integer id);
	
	List<MerchantIntegralLogResult> getList(MerchantIntegralLogQuery param, PagerInfo pr);
	
	List<MerchantIntegralLogResult> getList(MerchantIntegralLogQuery param);
	
	List<MerchantIntegralLogResult> getList();

	void delete(Integer id);

	void addOrUpdate(MerchantIntegralLogResult result)throws BusinessException;
	
	Map<Integer,MerchantIntegralLogResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,MerchantIntegralLogResult> getItemMap();
	
}